package ace.module.captcha.sms.core.impl.manager;

import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.manager.DtoManager;
import ace.module.captcha.sms.api.model.dto.CaptchaSmsApplicationDto;
import ace.module.captcha.sms.core.impl.dao.entity.CaptchaSmsApplication;

/**
 * 短信验证码应用 spring data jdbc querydsl rsql manager.
 *
 * @author Caspar
 */
public interface CaptchaSmsApplicationManager extends DtoManager<CaptchaSmsApplication, Long, CaptchaSmsApplicationDto> {
  CaptchaSmsApplication getAndCheckAllById(Long id);

  CaptchaSmsApplication getAndCheckAllByKey(String key);
}
